home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Classes / XText / combine-files next >
Encoding:
Text File  |  1992-05-02  |  139 b   |  7 lines

  1. #!/bin/csh -f -b
  2. foreach f ($*)
  3. echo "// (beginning of $f)"
  4. awk '/^#import "/{y=1;next}/^#import </{y=1}y==1' $f
  5. echo "// (end of $f)"
  6. end
  7.